<template>
	<view class="mainpadding">
		<view class="titletext flexcenter">{{dataAll.title}}</view>
		<view class="nostrongtext margin_top">{{dataAll.des}}</view>
		<view class="margin_top">
			<u-parse :content="dataAll.content"></u-parse>
		</view>
		<view class="nostrongtext flexright margin_top">{{dataAll.createtime_text}}</view>
	</view>
</template>

<script>
	import httpRequest from '@/commonFun/httpRequest.js'
	export default {
		data() {
			return {
				listid:"",
				dataAll:{},
			}
		},
		onLoad(options) {
			this.listid = options.id
			this.init()
		},
		methods: {
			init(){
				httpRequest.request('/customapi/index/getPtNoticeDetail', 'GET', {
					id:this.listid
				}, false, false, true).then(res => {
					this.dataAll = res.data
				}).catch(err => {
					httpRequest.toast(err.msg);
				})
			}
		}
	}
</script>

<style>

</style>
